package cn.shyouchi.wuguanjia.android.ui.statistic;


import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Eenie on 2017/1/16 at 10:45
 * Email: 472279981@qq.com
 * Des:
 */

public  class NewlyInfo implements Parcelable {
    /**
     * id : 7
     * name : 何潇潇
     * updated_at : 2016-12-17 00:00:00
     * permissions : 项目主管
     * channel : 赶集网
     */

    private int id;
    private String name;
    private String updated_at;
    private String permissions;
    private String channel;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.name);
        dest.writeString(this.updated_at);
        dest.writeString(this.permissions);
        dest.writeString(this.channel);
    }

    public NewlyInfo() {
    }

    protected NewlyInfo(Parcel in) {
        this.id = in.readInt();
        this.name = in.readString();
        this.updated_at = in.readString();
        this.permissions = in.readString();
        this.channel = in.readString();
    }

    public static final Parcelable.Creator<NewlyInfo> CREATOR = new Parcelable.Creator<NewlyInfo>() {
        @Override
        public NewlyInfo createFromParcel(Parcel source) {
            return new NewlyInfo(source);
        }

        @Override
        public NewlyInfo[] newArray(int size) {
            return new NewlyInfo[size];
        }
    };
}
